Skip to content

feat(katana): add katana web crawler component#318

Open
VQToan wants to merge 1 commit into
ShipSecAI:mainfrom
VQToan:feature/katana-component
Open

feat(katana): add katana web crawler component#318
VQToan wants to merge 1 commit into
ShipSecAI:mainfrom
VQToan:feature/katana-component

Conversation

@VQToan
Copy link
Copy Markdown

@VQToan VQToan commented May 14, 2026

Fixes #12

Description

Added the ProjectDiscovery Katana tool wrapper component for ShipSec Studio workflows. This allows users to perform deep web crawling and spidering, discovering URLs from target domains.

Changes

  • Implemented katana.ts component using the @shipsec/component-sdk following the subfinder component pattern
  • Added parsing logic to extract crawledUrls and generate standard analyticsResults for downstream nodes
  • Supported multiple crawler options: depth, jsCrawl, headless, threads, timeout, custom headers, and arbitrary CLI flags
  • Implemented unit tests (katana.test.ts) to ensure the component is registered correctly, arguments are formatted properly, and outputs are accurately parsed
  • Implemented integration tests (katana-integration.test.ts) to verify the execution works against a live Docker daemon
  • Exported and registered the component in worker/src/components/index.ts

This PR was created with AI assistance.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Katana Component

1 participant